package com.ruoyi.http.controller;

import com.alibaba.fastjson.JSONObject;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.http.domain.Http;
import com.ruoyi.http.domain.WeChat00300T;
import com.ruoyi.http.domain.WeChat00400T;
import com.ruoyi.http.domain.WeChat00600T;
import com.ruoyi.http.service.IWeChatTService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.ArrayList;
import java.util.List;

@RestController
@RequestMapping("/http/weChat00600")
public class WeChat00600 extends BaseController {

    @Autowired
    private IWeChatTService weChatTService;
    @GetMapping("/weChat")
    public AjaxResult http(WeChat00600T weChat00600T) {
        List<WeChat00600T> weChat = new ArrayList<WeChat00600T>();
        weChat = weChatTService.getCompanyInfoAll(weChat00600T);
        return AjaxResult.success(weChat);
    }
}